package inner;
 class Outer{
    int date1=1;
    String date2;
    public static int date3;
    protected int a=10;

    public void test(){

        System.out.println("Outer");
        Inner inner=new Inner();
        inner.fuc();
    }
    //实例内部类
    class Inner{
        protected int date1=10;
        int date4;
        public int date5;
        public static final int DATE=10;

        public void fuc(){
            System.out.println("inner");
            System.out.println(this.date1);
            System.out.println(Outer.this.date1);
        }
    }
}
public class Test {
    public static void main(String[] args) {
        Outer outerClass=new Outer();
        Outer.Inner innerclass=outerClass.new Inner();
        innerclass.fuc();


    }

}
